Breeding Faster Turtles: Progress towards a Netlogo Compiler
نویسنده
چکیده
Despite the stereotype concerning their biological counterparts, NetLogo's turtles are fast. NetLogo (Wilensky 1999a) contains a sophisticated interpreter that has been highly optimized. Nevertheless, NetLogo turtles aren't as fast as they could be. Interpretation necessarily incurs a performance penalty. Thus, we are in the process of replacing NetLogo's interpreter with a compiler. This transition is happening in phases. In this paper, we discuss the architecture of NetLogo's interpreter and explain the first phase of the transition to compilation, which uses inlining to generate efficient bytecode from abstract syntax trees. This technique measurably reduces the interpreter overhead, while permitting a gradual transition to a compiled architecture. We approach the task of compiler design from the perspective of a powerful agent based modeling language with “low threshold” design goals. Preliminary benchmark results are presented, in addition to a forecast of further steps towards a full NetLogo compiler.
منابع مشابه
Segmentation of medical image sequence by parallel active contour.
This paper presents an original approach for detecting and tracking of objects in medical image sequence. We propose a multi-agent system (MAS) based on NetLogo platform for implementing parametric contour active model or snake. In NetLogo, mobile agents (turtles) move over a grid of stationary agents (patches). In our proposed MAS, each mobile agent represents a point of snake (snaxel) and it ...
متن کاملSoftware Review: NetLogo, a Multi-agent Simulation Environment
NetLogo [41, 40] is a freely downloadable, agent-based software package that was created at the Center for Connected Learning and Computer-Based Modeling (CCL) at Northwestern University, directed by Uri Wilensky. It is the latest in a series of multi-agent simulation environments that includes StarLogo [28, 33], which was developed at the MIT Media Lab by Wilensky and Mitchel Resnick. In these...
متن کاملBody condition and physiological changes in male green turtles during breeding
Investigations were made into the body condition, energy metabolite and endocrinal changes of male green turtles Chelonia mydas prior to and during their vernal breeding period in the southern Great Barrier Reef. Prior to migration, breeding males exhibited a higher body condition index than non-breeding males. However, during the migratory reproductive period, breeding males lost significant b...
متن کاملBreeding sex ratio and population size of loggerhead turtles from Southwestern Florida
Species that display temperature-dependent sex determination are at risk as a result of increasing global temperatures. For marine turtles, high incubation temperatures can skew sex ratios towards females. There are concerns that temperature increases may result in highly female-biased offspring sex ratios, which would drive a future sex ratio skew. Studying the sex ratios of adults in the ocea...
متن کاملRoute masters
Many turtle species are endangered through a variety of human activities, from beach development, boating and shipping, and fishing. Awareness of the problems has mostly focused on protection of beaches used for breeding as individuals return to highly specific sites where they are particularly vulnerable. Apart from their breeding sites, much less is known about their long and complex movement...
متن کامل